package com.iwhalecloud.citybrain.flow.platform.manager.domain.repository;

import com.github.pagehelper.PageInfo;
import com.iwhalecloud.citybrain.flow.platform.manager.domain.model.monitor.FlowTaskTraceVo;
import com.iwhalecloud.citybrain.flow.platform.manager.domain.model.task.FlowTaskFinishedNoticeQueryVo;
import com.iwhalecloud.citybrain.flow.platform.manager.domain.model.task.FlowTaskFinishedNoticeVo;

import java.util.List;

/**
 * @author: niechanggang
 * @date:2021/9/3 14:51
 * @description:
 */
public interface FlowTaskFinishedNoticeRepository {

    /**
     * 保存
     * @param flowTaskFinishedNoticeVo
     * @return
     */
    public  int   insert(FlowTaskFinishedNoticeVo flowTaskFinishedNoticeVo);

    /**
     * 非分页查询
     * @param vo
     * @return
     */
    public List<FlowTaskFinishedNoticeVo> selectList(FlowTaskFinishedNoticeQueryVo  vo);

    /**
     * 分页查询阅知信息
     * @param vo
     * @return
     */
    PageInfo<FlowTaskTraceVo> selectPageList(FlowTaskFinishedNoticeQueryVo  vo);

}
